package cn.snowtech.bluebox.dto.medicine;

import cn.snowtech.bluebox.dto.BaseResponseDTO;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;
import java.util.List;

/**
 * 药品查询结果DTO.
 */
public class MedicineQueryResponseDTO extends BaseResponseDTO{
    @JsonProperty("medicines")
    @JsonInclude(value = JsonInclude.Include.NON_EMPTY)
    List<MedicineDetailDTO> medicineDetailDTOS=new ArrayList<>();

    public List<MedicineDetailDTO> getMedicineDetailDTOS() {
        return medicineDetailDTOS;
    }

    public void setMedicineDetailDTOS(List<MedicineDetailDTO> medicineDetailDTOS) {
        this.medicineDetailDTOS = medicineDetailDTOS;
    }
}
